package com.cskaoyan.config4;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author stone
 * @date 2022/06/24 16:02
 */
@Data
@ConfigurationProperties(prefix = "cskaoyan.datasource4")
//@Component
public class CskaoyanDatasourceProperties {
    //cskaoyan.datasource.driverClass
    String driverClass;
    //cskaoyan.datasource.url
    String url;
    //cskaoyan.datasource.username
    String username;
    //cskaoyan.datasource.password
    String password = "123456";
}
